/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.entidades;

import java.io.Serializable;
import java.math.BigInteger;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author JAVIER
 */
@Entity
@Table(name = "bdagrupados.historicoventasnegocio")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Historicoventasnegocio.findAll", query = "SELECT h FROM Historicoventasnegocio h"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonNegocio", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honNegocio = :honNegocio"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonAnoventa", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honAnoventa = :honAnoventa"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonMesventa", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honMesventa = :honMesventa"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonDiaventa", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honDiaventa = :honDiaventa"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonNumVentas", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honNumVentas = :honNumVentas"),
    @NamedQuery(name = "Historicoventasnegocio.findByHonNumCupones", query = "SELECT h FROM Historicoventasnegocio h WHERE h.honNumCupones = :honNumCupones")})
public class Historicoventasnegocio implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(name = "hon_negocio")
    @Id
    private BigInteger honNegocio;
    @Column(name = "hon_anoventa")
    private Integer honAnoventa;
    @Column(name = "hon_mesventa")
    private Integer honMesventa;
    @Column(name = "hon_diaventa")
    private Integer honDiaventa;
    @Basic(optional = false)
    @NotNull
    @Column(name = "hon_num_ventas")
    private long honNumVentas;
    @Column(name = "hon_num_cupones")
    private BigInteger honNumCupones;

    public Historicoventasnegocio() {
    }

    public BigInteger getHonNegocio() {
        return honNegocio;
    }

    public void setHonNegocio(BigInteger honNegocio) {
        this.honNegocio = honNegocio;
    }

    public Integer getHonAnoventa() {
        return honAnoventa;
    }

    public void setHonAnoventa(Integer honAnoventa) {
        this.honAnoventa = honAnoventa;
    }

    public Integer getHonMesventa() {
        return honMesventa;
    }

    public void setHonMesventa(Integer honMesventa) {
        this.honMesventa = honMesventa;
    }

    public Integer getHonDiaventa() {
        return honDiaventa;
    }

    public void setHonDiaventa(Integer honDiaventa) {
        this.honDiaventa = honDiaventa;
    }

    public long getHonNumVentas() {
        return honNumVentas;
    }

    public void setHonNumVentas(long honNumVentas) {
        this.honNumVentas = honNumVentas;
    }

    public BigInteger getHonNumCupones() {
        return honNumCupones;
    }

    public void setHonNumCupones(BigInteger honNumCupones) {
        this.honNumCupones = honNumCupones;
    }
    
}
